package edu.wit.common.utils;

import cn.hutool.core.lang.Snowflake;
import cn.hutool.core.util.IdUtil;

/**
 * @author yyh
 * @create 2020-10-28 17:43
 */
public class UUIDGenUtil {

    public static Long generate(){
        Snowflake snowflake = IdUtil.getSnowflake(21L, 12L);
        return snowflake.nextId();
    }

}
